﻿using System.ComponentModel.DataAnnotations;

namespace CodeContribBlog.Data
{
	public class BlogMetadata
	{
		//[RegularExpression("")]
		[Required]
		public User Creator { get; set; }
		public string Slug { get; set; }

		[Required]
		public string Subtitle { get; set; }

		[Required]
		public string Title { get; set; }

		[Required]
		public string Url { get; set; }
	}
}